<?php
		include_once '../inc/config.inc.php';
		include_once '../inc/mysql.inc.php';
		include_once '../inc/tool.inc.php';
		if(!isset($_GET['id']) || !is_numeric($_GET['id'])){
			skip('member_manager.php','error','id参数传递失败,请不要进行危险操作！');
		}

		$link=connect();
		//var_dump($_GET);
		$query="delete from member where mid={$_GET['id']}";
		execute($link,$query);
		if(mysqli_affected_rows($link)==1)
		{
			skip('member_manager.php','ok','恭喜删除成功！！！');
		}else{
			skip('member_manager.php','error','对不起删除失败,请重试！！！');
		}
?>